<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class ShopArticle extends Model
{
    //自定义表明
    protected $table = 'shops_article';
    public $timestamps = false;
    protected $fillable = [
        'typeid','shopid','title','coverpic','description','keyword','content','senddate','pageview','status'
    ];
    public function getSenddateAttribute($value){
    	return date('Y-m-d',$value);
    }
}

